<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 CalenderUI();
 link_js(array('jquery.fixedheader','bootstrap-typeahead'),'asset/js/');
 ?>
<!--<div class='container'>-->
     <div class="tabbable"> <!-- Only required for left/right tabs -->
	<?=$tab_header;?>
       <div class="tab-content" style='height:450px;'>
	   <br>
            <div class="tab-pane" id="table1"><?=$this->zetro_auth->allAuth($form,'setoran_tunai');?></div>
            <div class="tab-pane active" id="table2"><?=$this->zetro_auth->allAuth($frm2,'setoran_non_tunai');?><hr><?=$this->zetro_auth->allAuth($list,'setoran_non_tunai');?></div></div>
       </div>
		<input type='hidden' id='row_aktif' value='<?=empty($_GET['p'])?'':$_GET['p'];?>'/>
		<input type='hidden' id='rows' value='<?=base64_decode($this->session->userdata('menus'));?>'/>
    </div>
	<?=$modal2;?>
<!--</div>-->
<script language='javascript'>
$(document).ready(function(e) {
	($('#row_aktif').val()=='y')?$('li#t-table2').hide():$('li#t-table2').show();
	$('#id_cabang').html("<?=$lok;?>").change(function(){ _show_list($(this).val());});});
	$('#bln').html("<?=$blne;?>");$('#bln').change(function(){_show_list();});
	$('#tahun').html("<?=$thn;?>");$('#tahun').change(function(){_show_list();});
	$('#tp_simpanan').html("<?=$simp;?>");
</script>
<? link_js(array('setoran'),'application/zetro_js/');?>